﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Fluq
{
	public interface IDependencyLifetime
	{
		bool TryAcquire(object graphId, IDependencyContainer container, IDependency dependency, out object instance);

		bool TryDiscard(IDependencyContainer container, object instance);

		void DiscardAll(IDependencyContainer container);
	}
}
